<?php
/**
 *  * author 韩天尊
 * Date: 2022/3/15
 * Email: <724700483@qq.com>
 */

namespace App\HttpController\Api\InterfaceApi\App;

use App\Model\RelationModel;
use App\Model\RuleModel;
use App\Toolys\CustomHttpException;
use App\Toolys\VerifyCode\VerifyCode;
use EasySwoole\Kafka\Config\ProducerConfig;
use EasySwoole\Kafka\Kafka;
use EasySwoole\Utility\Random;
use EasySwoole\Validate\Validate;

class Auth extends InterfaceApiAppBase
{
    protected array $whiteList = ["login"];

    /**
     * *    author 韩天尊
     */
    public function login()
    {
        $validate = new Validate();
        $validate->addColumn("id", "用户标识")->required("");
        $this->validateInitApiData($validate);
        $this->writeBack->execute = true;
    }
}